<template>
  <div class="tab">
    <div>Archive component</div>
    <div>Archive count : {{ count }} <button @click="count++">增加count</button></div>
  </div>
</template>
<script lang="ts" setup>
import { onMounted, onUnmounted, ref } from "vue";

const count = ref(0)

onMounted(() => {
  console.log("Archive组件被加载了");
});

onUnmounted(() => {
  console.log("Archive组件被卸载了");
});
</script>